[INFO] fetching crate union 0.1.7...
[INFO] checking union-0.1.7 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate union 0.1.7 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate union 0.1.7 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate union 0.1.7
[INFO] finished tweaking crates.io crate union 0.1.7
[INFO] tweaked toml for crates.io crate union 0.1.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-join-macro-preview v0.3.0-alpha.19
[INFO] [stderr]   Downloaded futures-select-macro-preview v0.3.0-alpha.19
[INFO] [stderr]   Downloaded futures-timer v1.0.3
[INFO] [stderr]   Downloaded union_impl v0.1.3
[INFO] [stderr]   Downloaded union_export v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 487570cb3ed72e807a91eef37a835c95b7bef3e2d6d2bf1069df5f127cb2ca34
[INFO] running `Command { std: "docker" "start" "-a" "487570cb3ed72e807a91eef37a835c95b7bef3e2d6d2bf1069df5f127cb2ca34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "487570cb3ed72e807a91eef37a835c95b7bef3e2d6d2bf1069df5f127cb2ca34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "487570cb3ed72e807a91eef37a835c95b7bef3e2d6d2bf1069df5f127cb2ca34", kill_on_drop: false }`
[INFO] [stdout] 487570cb3ed72e807a91eef37a835c95b7bef3e2d6d2bf1069df5f127cb2ca34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12d7f7e75e84930ebf17efd014ad6136bcf49ae715e09ea76a455d88f7c740ce
[INFO] running `Command { std: "docker" "start" "-a" "12d7f7e75e84930ebf17efd014ad6136bcf49ae715e09ea76a455d88f7c740ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.38
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]    Compiling futures-select-macro-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling futures-join-macro-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking gimli v0.27.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling union_impl v0.1.3
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking object v0.30.1
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling union_export v0.1.3
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking ipnet v2.7.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking futures-timer v1.0.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking union v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> tests/union_async_spawn.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | /         rt.block_on(async {
[INFO] [stdout] 65 | |             let product = union_async_spawn! {
[INFO] [stdout] 66 | |                 ok(2u16),
[INFO] [stdout] 67 | |                 ok(get_three().await),
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |             );
[INFO] [stdout] 87 | |         });
[INFO] [stdout]    | |__________^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:93:9
[INFO] [stdout]     |
[INFO] [stdout] 93  | /         rt.block_on(async {
[INFO] [stdout] 94  | |             let product = union_async_spawn! {
[INFO] [stdout] 95  | |                 ok(2u16).map(add_one_to_ok).and_then(add_one_ok), //4
[INFO] [stdout] 96  | |                 ok(get_three().await).and_then(add_one_ok).map(add_one_to_ok).map(add_one_to_ok).map(add_one_to_ok), //7
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |             );
[INFO] [stdout] 116 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 92  |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 | /         rt.block_on(async {
[INFO] [stdout] 122 | |             let product = union_async_spawn! {
[INFO] [stdout] 123 | |                 ok(2u16) |> add_one_to_ok => add_one_ok, //4
[INFO] [stdout] 124 | |                 ok(get_three().await) => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |             assert_eq!(none.await, None);
[INFO] [stdout] 165 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         rt.block_on(
[INFO] [stdout] 172 | |             async {
[INFO] [stdout] 173 | |                 let ok_value = union_async_spawn! {
[INFO] [stdout] 174 | |                     ok(2u16),
[INFO] [stdout] ...   |
[INFO] [stdout] 244 | |             }
[INFO] [stdout] 245 | |         );
[INFO] [stdout]     | |_________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 | /         rt.block_on(async {
[INFO] [stdout] 252 | |             let product = union_async_spawn! {
[INFO] [stdout] 253 | |                 let branch_0 = ok(2u16) ~|> {
[INFO] [stdout] 254 | |                     let branch_0 = branch_0.as_ref().ok().map(Clone::clone);
[INFO] [stdout] ...   |
[INFO] [stdout] 284 | |             assert_eq!(product.await.unwrap(), 840);
[INFO] [stdout] 285 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 | /         rt.block_on(async {
[INFO] [stdout] 291 | |             use futures::lock::Mutex;
[INFO] [stdout] 292 | |             use std::sync::Arc;
[INFO] [stdout] 293 | |             use std::time::Duration;
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |             .unwrap();
[INFO] [stdout] 340 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 289 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 346 | /         rt.block_on(async {
[INFO] [stdout] 347 | |             let values = union_async_spawn! { ok::<_,u8>(2), ok::<_,u8>(3) }.await;
[INFO] [stdout] 348 | |             assert_eq!(values.unwrap(), (2, 3));
[INFO] [stdout] 349 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 | /         rt.block_on(async {
[INFO] [stdout] 356 | |             let value = union_async_spawn! { ready(Some(1)) }.await;
[INFO] [stdout] 357 | |             assert_eq!(value.unwrap(), 1);
[INFO] [stdout] 358 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async_spawn.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 | /         rt.block_on(async {
[INFO] [stdout] 366 | |             let _fut = union_async_spawn! {
[INFO] [stdout] 367 | |                 ready(panic!()),
[INFO] [stdout] 368 | |                 ready(unreachable!()),
[INFO] [stdout] 369 | |                 then => |a: Result<u8>, b: Result<u8>| ready(a)
[INFO] [stdout] 370 | |             };
[INFO] [stdout] 371 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut rt = Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `union` due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> tests/union_async.rs:406:9
[INFO] [stdout]     |
[INFO] [stdout] 406 | /         rt.block_on(async {
[INFO] [stdout] 407 | |
[INFO] [stdout] 408 | |             println!(
[INFO] [stdout] 409 | |                 "Hello.\nThis's is the game where winner is the player, which value is the closest to {}",
[INFO] [stdout] ...   |
[INFO] [stdout] 528 | |             }.unwrap();   
[INFO] [stdout] 529 | |         });
[INFO] [stdout]     | |__________^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let mut rt = ::tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `union` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "12d7f7e75e84930ebf17efd014ad6136bcf49ae715e09ea76a455d88f7c740ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12d7f7e75e84930ebf17efd014ad6136bcf49ae715e09ea76a455d88f7c740ce", kill_on_drop: false }`
[INFO] [stdout] 12d7f7e75e84930ebf17efd014ad6136bcf49ae715e09ea76a455d88f7c740ce
